;---------------------------------------------------------------------------
;PrintTo == the printer port (E.g., LPT1:, LPT2:) to print maps to, or
;        == disk file to print map to (E.g., C:\TEMP\MAP.HP2)
;NumberPages == 0 <=> do not number pages, 1 <=> number pages

[Print Maps]
PrintTo=lpt1
NumberPages=1

;---------------------------------------------------------------------------
;Enable == 0 <=> do not even attempt to download, 1 <=> allow downloading
[Download]
Enable=1

;---------------------------------------------------------------------------
;ShowXTiles == how many tiles across to display. 0 <=> as much as possible
;ShowYTiles == how many tiles down to display. 0 <=> as much as possible

[Tile Display]
ShowXTiles=0
ShowYTiles=0

;---------------------------------------------------------------------------
;X Flip Bit: which tile flag bit enables X-flip. no 1 bit == no X flip

[X Flip Bit]
Enable=x1xxxxxx

;Y Flip Bit: which tile flag bit enables Y-flip. no 1 bit == no Y flip

[Y Flip Bit]
Enable=xx1xxxxx

;---------------------------------------------------------------------------
;List of all color mask groups.

[Color Mask Groups]
16-Bit Nintendo Color
16-Bit Nintendo Priority

[16-Bit Nintendo Color]
Enable=1xxxxxxx
Config=xxxxx111
xxxxxxx0:xxx0xxxx
xxxxxxx1:xxx1xxxx
xxxxxx0x:xx0xxxxx
xxxxxx1x:xx1xxxxx
xxxxx0xx:x0xxxxxx
xxxxx1xx:x1xxxxxx

[16-Bit Nintendo Priority]
Enable=xxx1xxxx
Config=xxx1xxxx
xxx1xxxx:1xxxxxxx

[Genesis Color]
Enable=1xxxxxxx
Config=xxxxxx11
xxxxxxx0:xxx0xxxx
xxxxxxx1:xxx1xxxx
xxxxxx0x:xx0xxxxx
xxxxxx1x:xx1xxxxx

[Genesis Priority]
Enable=xxx1xxxx
Config=xxx1xxxx
xxx1xxxx:1xxxxxxx

[Type Groups]
TileTypes=MCKids 2 Tileset Types
RoomTypes=MCKids 2 Room Types

[MCKids 2 Room Types]
Level Room=0
Table Room=1
Picture Room=2
Parallax Room=3
Mode 7 Room=4
Flat Conv Room=5
Layered Conv Rm=6
Block Table Rm=7

[MCKids 2 Tileset Types]
Image Tiles=0,1,11111111
Contour Tiles=1,2,1xx11111
Special Tiles=2,3,11111111
Object Tiles=3,4,11111111
4-Color Tiles=4,1,11111111
256-Color Tiles=5,1,11111111
Mode 7 Tiles=6,1,xxxxxxxx
Global 16 Tiles=7,1,11111111
Priority Tiles=8,5,11111111

[MSDOS/Amiga Tileset Types]
CTI Tiles=0,1
Logic Tiles=1,1

[MSDOS/Amiga Room Types]
Level Room Set A=0
Level Room Set B=4
No Palette Room=2
Layered Conversion=1
Flat Conversion=3

;---------------------------------------------------------------------------
; When you create a room, it gets the following default values:
; Grid size, grid origin, grid on/off.
; Guide size, guide origin, guide on/off.
; Default zoom setting (if you turn it on).

[Room Defaults]
GridXSize=2
GridYSize=2
GridXOrigin=0
GridYOrigin=0
UseGrid=0

GuideXSize=16
GuideYSize=16
GuideXOrigin=0
GuideYOrigin=0
GuideVisible=0

ZoomIndex=5

;---------------------------------------------------------------------------
; CharacterWidth & CharacterHeight specify what size character to count.
; If both are zero, it counts all tiles (irregardless of size).
; CompareMask specifies which bits of each pixels are examined when
; merging duplicate tiles. Groups names the section that contains the
; list of group definitions.

[Count Characters]
CharacterWidth=8
CharacterHeight=8
CompareMask=xxxx1111
Groups=Character Groups

[Character Groups]
CharGroup1=MergeDuplicates,MergeXFlips,MergeYFlips,MergeXYFlips
CharGroup2=NoMerge

[CharGroup1]
Tileset=0,Room=none
Tileset=0,Room=0..65535

[CharGroup2]
Tileset=0,Room=1

;---------------------------------------------------------------------------
; List of new event names that scroll the screen.
; The label on the left side of the '=' is the name of the new
; event, while the two values on the right determine how far <x>,<y>
; to move the screen.
;
; Note that the cursor keys have been attached to these events.

[Cursor Movement Events]
RightScroll=-1,0
RightScrollMultiple=-5,0

LeftScroll=1,0
LeftScrollMultiple=5,0

DownScroll=0,-1
DownScrollMultiple=0,-5

UpScroll=0,1
UpScrollMultiple=0,5

;---------------------------------------------------------------------------
; List of new event names that set the tile mask bits.
; The label on the left side of the '=' is the name of the new
; event, while the mask on the right determines how the tile mask bits
; are affected when that event occurs.
;
; Note that the numbers on the keypad have been attached to these events.

[Tile Mask Events]
ClearColor=0xxxx000
 SetColor0=1xxxx000
 SetColor1=1xxxx001
 SetColor2=1xxxx010
 SetColor3=1xxxx011
 SetColor4=1xxxx100
 SetColor5=1xxxx101
 SetColor6=1xxxx110
 SetColor7=1xxxx111
    SetPri=xxx1xxxx
  ClearPri=xxx0xxxx

;---------------------------------------------------------------------------
; List of new event names that specify the zoom amount.
; The label on the left size of the '=' is the name of the new event,
; and the two values on the right determine how much to zoom.
; The variable ZoomIndex in [Room Defaults] indexes into this list of
; events; the first event is 0.
;
; Note that the key '<Alt-,>' has been attached to the first zoom setting,
; and '<Alt-.>' has been attached to the last zoom setting.

[Zoom Events]
 Zoom0=4:1
 Zoom1=3:1
 Zoom2=2:1
 Zoom3=1:1
 Zoom4=7:8
 Zoom5=3:4
 Zoom6=5:8
 Zoom7=1:2
 Zoom8=27:64
 Zoom9=1:3
Zoom10=1:4
Zoom11=1:6
Zoom12=1:8

;---------------------------------------------------------------------------
; ColorReqDivideX & ColorReqDivideY allow you to specify a
; grid that overlays the palette in the color requester.
;
; ColorReqDivideX == 0 <=> no vertical line, 2 <=> line every 2nd column, etc.
; ColorReqDivideY == 0 <=> no horizontal line, 2 <=> line every 2nd row, etc.
;
; RedRange, GreenRange, BlueRange allow you to define the resolution
; (number of bits) used to represent each color. The values default to
; the maximum resolution possible, 256, but can be set lower for other
; target platforms (such as 8, 8, 8 for Sega Genesis).

[Color Requester]
ColorReqDivideX=2
ColorReqDivideY=0
RedRange=32
GreenRange=32
BlueRange=32

;---------------------------------------------------------------------------
; SearchCurrentDir - when this flag is set true (== 1), if a tileset
; can't be found as specified first, then look in the current
; sub-directory after searching for the file as specified.

[Load Options]
SearchCurrentDir=1

;---------------------------------------------------------------------------
; List of events that get executed when tUME starts up.

[Initial Events]
ToggleTitleBar
ToggleShowBrush
ToggleDownloadOneScreen
KeepDownloadPalette
SetStampPaint

;---------------------------------------------------------------------------
; Set mouse sensitivity. MouseXRes (default 640) defines the X sensitivity,
; MouseYRes (default 400) defines the Y sensitivity. Setting these numbers
; to a larger number will make the mouse LESS sensitive; setting the numbers
; smaller will make the mouse MORE sensitive.

[Mouse]
MouseXRes=640
MouseYRes=400

;---------------------------------------------------------------------------
;#
;# Menu Line
;#	Keyword "text" Event Switches
;#
;# Keywords
;#	POPUP        = This item has a sub menu
;#	POPDOWN      = This end of sub menu
;#	MENUITEM     = A normal menu item.
;#	STICKMENUS   = Menus stay up you let off mouse (like Windows)
;#
;# Text
;#	'&'          = underline next character and use as hot key.
;#	'\t'         = flush right following text
;#
;# Switches
;#	SEPARATOR    = draw one pixel line for this item
;#	MENUBREAK    = start new column?
;#	MENUBARBREAK = start new column with one pixel bar between columns.
;#
;# 
;#	
;#
;#

[MENU]
;STICKYMENUS
POPUP	"&Project"
	MENUITEM	"&Load..."	LoadMap
	MENUITEM	"&Append..."	AppendMap
	POPUP		"&Save..."	SEPARATOR
		MENUITEM	"&Normal"	SaveMap
;		MENUITEM	"&Xave"		ZaveMap
		MENUITEM	"Save+&TMGC"	TMGCSaveTiles
		MENUITEM	"Save+TMG&X"	GroupSaveTiles
		POPDOWN
;	MENUITEM	"&Info"		tumeInfo
	MENUITEM	"&Clear..."	ClearMap
	POPUP		"S&how Status"	SEPARATOR
		MENUITEM	"&Room Info"	RoomStatus
		MENUITEM	"&User Info"	UserStatus
		MENUITEM	"&Tiles"	TileStatus
		MENUITEM	"&Coordinates"	CursorStatus
		MENUITEM	"&Version"	VersionStatus	SEPARATOR
		MENUITEM	"C&opyright"	CopyrightStatus
		POPDOWN
	MENUITEM	"&TitleBar"	ToggleTitleBar
	MENUITEM	"A&bout tUME"	About		SEPARATOR
	MENUITEM	"&Quit"		QuitAndExit
	POPDOWN
POPUP	"&Tiles"
	POPUP		"&Load..."
		MENUITEM	"&Full Tiled\t(VM)"	LoadTilesFullTiled
		MENUITEM	"Tiled-&Blanks\t(LIVE)"	LoadTilesFullTiledNoBlank
		MENUITEM	"A&ll Tiled"		LoadTilesAllTiled
		MENUITEM	"&As Brushes\t(JMA)"	LoadTilesCookieCutter
		MENUITEM	"Bo&xed\t(OLD)"		LoadTilesBoxed
		POPDOWN
	MENUITEM	"GridRoomAsTiles..."	MakeCompositeTiles
	POPUP		"&Save..."	SEPARATOR
		MENUITEM	"As &TMG file"		GroupSaveTiles
		MENUITEM	"As &Brushes"		SaveTilesAsBrushes
		POPDOWN
	MENUITEM	"&Delete..."		DeleteTileset
	MENUITEM	"Set &Info..."		SetTilesetInfo		SEPARATOR
	MENUITEM	"&Count"		CountChars		SEPARATOR
	POPDOWN
POPUP "&Room"
	MENUITEM	"&Create..."	CreateRoom
	MENUITEM	"&Load..."	LoadRoom
	POPUP		"&Save..."	SEPARATOR
		MENUITEM	"&Full"			SaveRoomAll
		MENUITEM	"&Stripped"		SaveRoom
		POPDOWN
	POPUP		"Clea&r..."
		MENUITEM	"&Tiles"		ClearRoom
		MENUITEM	"&Complete"		ClearRoom3
		POPDOWN
	MENUITEM	"&Delete..."		DeleteRoom
	MENUITEM	"Set &Info..."		SetRoomInfo	SEPARATOR
	MENUITEM	"Loc&k"			ToggleLockRoom	SEPARATOR
	POPUP		"Cop&y Color"	SEPARATOR
		MENUITEM	"&All"			CopyColors1
		MENUITEM	"&Palette"		CopyColors2
		MENUITEM	"&Color Cycles"		CopyColors3
		POPDOWN
	MENUITEM	"Set &Palette..."	SetTheColors
	MENUITEM	"Live Palette"	KeepDownloadPalette
	MENUITEM	"&Color Cycle"	ToggleCycleColors
	MENUITEM	"Prin&t..."		PrintMap	SEPARATOR
	POPDOWN
POPUP	"&Layer"
	MENUITEM	"&Add"			OpenLayer
	MENUITEM	"D&elete..."		DeleteLayer	SEPARATOR
	MENUITEM	"Move &Up"		FloorUp		SEPARATOR
	MENUITEM	"Move &Down"		FloorDown
	MENUITEM	"In&visible"		ToggleLInvisi	SEPARATOR
	MENUITEM	"&Lock"			ToggleLLock
	MENUITEM	"&Invis+Lock"		ToggleLAll
	POPUP		"Download"	SEPARATOR
		MENUITEM	"One Screen"		ToggleDownloadOneScreen
		MENUITEM	"16-Color Chars"	Download16	SEPARATOR
		MENUITEM	"256-Color Chars"	Download256
		POPDOWN
	POPDOWN
POPUP	"&Brush"
	MENUITEM	"&Undo"		Undo
	MENUITEM	"Select &Block"		SelectBlock	SEPARATOR
	MENUITEM	"Select &Plane"		SelectSquare
	MENUITEM	"Strip Brush"		StripDownBlockCopy	SEPARATOR
	MENUITEM	"Paint"			SetStampPaint		SEPARATOR
	MENUITEM	"Replace"		SetStampReplace
	MENUITEM	"Stratify Paste"	ToggleStratifyPaste	SEPARATOR
	POPUP		"Set Brush &Mode"
		MENUITEM	"&Normal"	EditRoom
;		MENUITEM	"&Random"	DrawRandom
;		MENUITEM	"&Fill"
		MENUITEM	"Re&Color"	ClearColor SEPARATOR
		POPDOWN
	MENUITEM	"&Count"		ShowBrushCount	SEPARATOR
	MENUITEM	"&Show Tile-Brush"	ToggleShowBrush	SEPARATOR
	MENUITEM	"&Hide Cursor"		HideCursor
	MENUITEM	"&Move Handle"
	POPDOWN
POPUP	"&View"
;	MENUITEM	"&Open"			WCreate
;	MENUITEM	"&Close"		WClose
	MENUITEM	"&Flip Panes"		FlipPanes
	MENUITEM	"&Prev Room"		PreviousRoom
	MENUITEM	"&Next Room"		NextRoom
	POPUP		"Zoom"		SEPARATOR
		MENUITEM	"Toggle &Zoom"		ToggleZoom
		MENUITEM	"Zoom &Out"		ZoomOut
		MENUITEM	"Zoom &In"		ZoomIn
		POPDOWN
	POPUP		"&Grid"
		MENUITEM	"Use Grid"		ToggleUseGrid
		MENUITEM	"Set Grid Size..."	SetGridSize
		MENUITEM	"Get Brush Size"	GetGridFromBrush
		POPDOWN
	POPUP		"G&uide"
		MENUITEM	"Show Guide"		ToggleShowGuide
		MENUITEM	"Set Guide Size..."	SetGuideSize
		MENUITEM	"Get Brush Size"	GetGuideFromBrush 
		POPDOWN
	MENUITEM	"&ShowOnlyFloor"	ShowOnlyFloor	SEPARATOR
	MENUITEM	"&Spaced Toggle"	SpaceToggle
	MENUITEM	"Scroll &Lock"		ScrollLock	SEPARATOR
	POPUP		"P&ane"			SEPARATOR
		MENUITEM	"&Allow All"			WLockClear
		MENUITEM	"Only &Source"		WLockToSource
		MENUITEM	"Only &Edit"		WLockToEdit
		MENUITEM	"Only S&ame"		WLockToSame
		POPDOWN
	POPUP		"&Bkgnd Color"
		MENUITEM	"&Next Color"		IncBackColor
		MENUITEM	"&Prev Color"		DecBackColor
		MENUITEM	"&Zero Color"		ZeroBackColor
		POPDOWN
	POPDOWN

;---------------------------------------------------------------------------
;#
;# KeyBoard Configuration.
;#

[KEYS]

KeyEvent        '<F10>'                 ToggleTitleBar
KeyEvent	'<F8>'			HideCursor
KeyEvent        '<Del>'                 HideCursor

KeyEvent        '<SPACE>'               FlipPanes
KeyEvent        '<Shift-Q>'             QuitAndExit
KeyEvent        'a'                     LastMenuEvent
KeyEvent        'b'                     SelectBlock
KeyEvent	'h'			ShowBrushCount
KeyEvent        'j'                     FlipPanes
KeyEvent        'p'                     SetTheColors
KeyEvent        'q'                     QuitAndExit
;KeyEvent        's'                     ScrollLockKEY
KeyEvent        'u'                     Undo
KeyEvent        'v'                     SelectSquare
KeyEvent        '<Shift-X>'             StripDownBlockCopy

KeyEvent        '<RIGHT>'               RightScroll
KeyEvent        '<LEFT>'                LeftScroll
KeyEvent        '<UP>'                  UpScroll
KeyEvent        '<DOWN>'                DownScroll
KeyEvent        '<CTRL-RIGHT>'          RightScrollMultiple
KeyEvent        '<CTRL-LEFT>'           LeftScrollMultiple
KeyEvent        '<CTRL-UP>'             UpScrollMultiple
KeyEvent        '<CTRL-DOWN>'           DownScrollMultiple
KeyEvent        'n'                     CenterRoomOnCursor

KeyEvent         '<TAB>'                ToggleCycleColors

KeyEvent        '1'                     NextRoom
KeyEvent        '<Alt-RIGHT>'           NextRoom
KeyEvent        '2'                     PreviousRoom
KeyEvent        '<Alt-LEFT>'            PreviousRoom
KeyEvent        '3'                     FloorUp
KeyEvent        '<Alt-UP>'              FloorUp
KeyEvent        '4'                     FloorDown
KeyEvent        '<Alt-DOWN>'            FloorDown

KeyEvent        'i'                     ToggleLAll
KeyEvent        'l'                     ToggleLLock

KeyEvent	'<F6>'			RoomStatus
KeyEvent	'<F7>'			UserStatus
KeyEvent	'<F5>'			TileStatus
KeyEvent	'<F9>'			CursorStatus

;KeyEvent        '<F1>'                  SpaceToggle
;KeyEvent        '<F3>'                  ZeroBackColor
;KeyEvent        '<F2>'                  DecBackColor
;KeyEvent        '<F4>'                  IncBackColor

KeyEvent	'\'			SpaceToggle
KeyEvent	'<Ctrl-'>'		ZeroBackColor
KeyEvent	'<Ctrl-[>'		DecBackColor
KeyEvent	'<Ctrl-]>'		IncBackColor

KeyEvent	'<F1>'			SetStampPaint
KeyEvent	'<F3>'			SetStampReplace

KeyEvent        '<Keypad-.>'            EditRoom
KeyEvent        '<Keypad-0>'            ClearColor
KeyEvent        '<Keypad-1>'            SetColor0
KeyEvent        '<Keypad-2>'            SetColor1
KeyEvent        '<Keypad-3>'            SetColor2
KeyEvent        '<Keypad-4>'            SetColor3
KeyEvent        '<Keypad-5>'            SetColor4
KeyEvent        '<Keypad-6>'            SetColor5
KeyEvent        '<Keypad-7>'            SetColor6
KeyEvent        '<Keypad-8>'            SetColor7
KeyEvent        '<Grey-->'              ClearPri
KeyEvent        '<Grey-+>'              SetPri

KeyEvent        '<Alt-l>'               LoadMap
KeyEvent        '<Alt-s>'               SaveMap
KeyEvent        '<Alt-x>'               QuitAndExit

KeyEvent        '<Alt-p>'               ToggleJamPalette

KeyEvent        'x'                     XFlipBrush
KeyEvent        'y'                     YFlipBrush

KeyEvent	'<Alt-A>'		WLockClear
KeyEvent	'<Alt-C>'		CountChars
KeyEvent	'<Alt-F>'		ShowOnlyFloor
KeyEvent	'g'			ToggleUseGrid
KeyEvent	'<Shift-G>'		SetGridOrigin
KeyEvent	'<Alt-G>'		GetGridFromBrush
KeyEvent	'o'			ToggleShowGuide
KeyEvent	'<Shift-O>'		SetGuideOrigin
KeyEvent	'<Alt-O>'		GetGuideFromBrush
KeyEvent	'<Ctrl-L>'		LoadTilesAllTiled
KeyEvent	'<Alt-D>'		Download16
KeyEvent	'<Ctrl-D>'		Download256

KeyEvent	'm'			ToggleZoom
KeyEvent	'<>>'			ZoomIn
KeyEvent	'<<>'			ZoomOut
KeyEvent	'<Alt-.>'		Zoom0
KeyEvent	'<Alt-,>'		Zoom12

;---------------------------------------------------------------------------
;The following are currently not being used:
;---------------------------------------------------------------------------

[8-Bit Nintendo Color]
Enable=1xxxxxxx
xxxxxxx0:xxxxx0xx
xxxxxxx1:xxxxx1xx
xxxxxx0x:xxxx0xxx
xxxxxx1x:xxxx1xxx

[8-Bit Sega Color]
Enable=1xxxxxxx
xxxxxxx0:xxx0xxxx
xxxxxxx1:xxx1xxxx
xxxxxx0x:xx0xxxxx
xxxxxx1x:xx1xxxxx
xxxxx0xx:x0xxxxxx
xxxxx1xx:x1xxxxxx
xxxx0xxx:0xxxxxxx
xxxx1xxx:1xxxxxxx
